Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Get  a  List  of  All  the  .dll  Files  in  a  Folder.  Along  with  Their  Version  Numbers  

 Content of Get a List of All the .dll Files in a Folder. Along with Their Version Numbers.js
MD5 Hash: 728D70A65C5EDB611AD31822517E1AD2
strcomputer = ".";

var objwmiservice = GetObject("winmgmts:\\\\" + strcomputer + "\\root\\cimv2");

var colfilelist = objwmiservice.execquery
("associators of {win32_directory.name='c:\\windows\\system32'} where "
+ "resultclass = cim_datafile");

var myJS_Enumerator_1 = new Enumerator(colfilelist);
for (;!myJS_Enumerator_1.atEnd();myJS_Enumerator_1.moveNext()) {
objfile = myJS_Enumerator_1.item();
if (objfile.extension == "dll") {
WScript.Echo(objfile.name + " -- " + objfile.version);
}
}



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a